using System.Collections;
using System.Collections.Generic;
using UnityEngine;

/// <summary>
/// 运算基类
/// </summary>
public class Operation
{
    private double _numberA = 0;
    private double _numberB = 0;


    public double NumberA
    {
        get { return _numberA; }
        set { _numberA = value; }
    }

    public double NumberB
    {
        get { return _numberB; }
        set { _numberB = value; }
    }

    /// <summary>
    /// 获取计算结果
    /// </summary>
    /// <returns></returns>
    public virtual double GetResult()
    {
        double result = 0;
        return result;
    }
}
